package cn.kgc.waimai.service;


import cn.kgc.waimai.mapper.CuisinesMapper;
import cn.kgc.waimai.pojo.Cuisines;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("cuisinesService")
public class CuisinesServiceImpl implements CuisinesService {
    @Resource
    CuisinesMapper cuisinesMapper;

    @Override
    public List<Cuisines> getSelect() {
        return cuisinesMapper.selectByExample(null);
    }
}